Fix Eshell call to 'string-suffix-p' when checking for trailing newline
authorJim Porter <jporterbugs@gmail.com>
Mon, 21 Jul 2025 04:17:05 +0000 (21:17 -0700)
committerJim Porter <jporterbugs@gmail.com>
Tue, 22 Jul 2025 01:47:43 +0000 (18:47 -0700)
commitdd29b0ab66d63b3b8e890c8de8f8e5c3fb44217a
tree7b2357754197a368c5fb62c576581cc5bbf5f96b
parentcbfc095ed42be5fd2b848cb837b3340670fe9ef6
Fix Eshell call to 'string-suffix-p' when checking for trailing newline

* lisp/eshell/esh-io.el (eshell--output-maybe-n): Fix call.

* test/lisp/eshell/esh-io-tests.el
(esh-io-test/output-newline/add-newline)
(esh-io-test/output-newline/no-newline)
(esh-io-test/output-newline/no-extra-newline): New tests (bug#79063).
lisp/eshell/esh-io.el
test/lisp/eshell/esh-io-tests.el